package com.ygy.jxc;



import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

//配swagger注解会报错0218 这个地方在xml中配置即可
//@ComponentScan(basePackages =("com.ygy.jxc.config"))
//@EnableSwagger2
//@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})  数据库的
@SpringBootApplication
public class JxcAdminApplication  {
    public static void main(String[] args) {
        SpringApplication.run(JxcAdminApplication.class, args);
        show();
    }
   public static void   show(){
            System.out.println("swagger:http://127.0.0.1:8086/swagger-ui.html");
//            http://39.101.65.159:8086/swagger-ui.html
//            http://172.24.15.232:8086/swagger-ui.html  私网
        }
}
